package com.hit.server.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hit.server.api.entity.CheckPositionEntity;
import com.hit.server.api.dto.CheckPositionQueryDTO;
import com.hit.server.api.dto.CheckPositionSaveDTO;
import com.hit.server.api.dto.CheckPositionUpdateDTO;
import com.hit.server.api.vo.CheckPositionVO;

import java.util.List;

public interface CheckPositionService extends IService<CheckPositionEntity> {

	Page<CheckPositionVO> getCheckPositionPage(Page page, CheckPositionQueryDTO dto);
	
	CheckPositionVO getCheckPositionById(Long id);
	
	Boolean saveCheckPosition(CheckPositionSaveDTO dto);
	
	Boolean updateCheckPositionById(CheckPositionUpdateDTO dto);
	
	Boolean removeCheckPositionBatchByIds(List<Long> ids);

	String getMileageByRobotId(Long robotId);
}